<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>联系人</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="description" content="">
    <link rel="stylesheet" href="${path}/lib/weui.min.css">
    <link rel="stylesheet" href="${path}/css/jquery-weui.css">
    <link rel="stylesheet" href="${path}/css/demos.css">
</head>

<body ontouchstart>
<header class='demos-header'>
    <h1 class="demos-title">联系人列表</h1>
</header>

<div class="weui-cells">
    <c:forEach items="${items}" var="item">
        <div class="weui-cell">
            <div class="weui-cell__hd" style="position: relative;margin-right: 10px;">
                <img src="${path}/images/pic_161.jpg" style="width: 50px;display: block">
                    <%--<span class="weui-badge" style="position: absolute;top: -.4em;right: -.4em;">8</span>--%>
            </div>
            <div class="weui-cell__bd">
                <p>${item.username}
                    <span>
                     <a href="tel:${item.mobile}"> ${item.mobile}</a>
                   </span>
                </p>
                <p style="font-size: 13px;color: #888888;">${item.remark}</p>
            </div>
        </div>
    </c:forEach>
</div>
<div class="clear" style="height: 10%;"></div>
<jsp:include page="foot.jsp"/>

<script src="${path}/lib/jquery-2.1.4.js"></script>
<script src="${path}/lib/fastclick.js"></script>
<script>
    $(function () {
        FastClick.attach(document.body);
    });
</script>
<%--<script src="${path}/js/jquery-weui.js"></script>--%>
</body>
</html>
